package com.zlp.mybatisplus.mybatisplus.entity;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhulaiping
 * @since 2022-07-26
 */
@TableName("bcrm_flow_column")
public class FlowColumn extends Model<FlowColumn> {

    private static final long serialVersionUID = 1L;

    private String id;

    /**
     * 活动id
     */
    @TableField("activity_id")
    private String activityId;

    /**
     * 活动记录id
     */
    @TableField("activity_flow_id")
    private String activityFlowId;

    /**
     * 成列审核方式(1 人工审核 2:AI审核)
     */
    @TableField("review_type")
    private Integer reviewType;

    /**
     * skucode
     */
    @TableField("sku_code")
    private String skuCode;

    /**
     * sku名称
     */
    @TableField("sku_name")
    private String skuName;

    /**
     * 排面
     */
    private Integer layout;

    /**
     * 创建时间
     */
    @TableField("create_at")
    private Date createAt;

    /**
     * 修改时间
     */
    @TableField("update_at")
    private Date updateAt;

    /**
     * 删除时间
     */
    @TableField("delete_at")
    private Date deleteAt;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
    public String getActivityId() {
        return activityId;
    }

    public void setActivityId(String activityId) {
        this.activityId = activityId;
    }
    public String getActivityFlowId() {
        return activityFlowId;
    }

    public void setActivityFlowId(String activityFlowId) {
        this.activityFlowId = activityFlowId;
    }
    public Integer getReviewType() {
        return reviewType;
    }

    public void setReviewType(Integer reviewType) {
        this.reviewType = reviewType;
    }
    public String getSkuCode() {
        return skuCode;
    }

    public void setSkuCode(String skuCode) {
        this.skuCode = skuCode;
    }
    public String getSkuName() {
        return skuName;
    }

    public void setSkuName(String skuName) {
        this.skuName = skuName;
    }
    public Integer getLayout() {
        return layout;
    }

    public void setLayout(Integer layout) {
        this.layout = layout;
    }
    public Date getCreateAt() {
        return createAt;
    }

    public void setCreateAt(Date createAt) {
        this.createAt = createAt;
    }
    public Date getUpdateAt() {
        return updateAt;
    }

    public void setUpdateAt(Date updateAt) {
        this.updateAt = updateAt;
    }
    public Date getDeleteAt() {
        return deleteAt;
    }

    public void setDeleteAt(Date deleteAt) {
        this.deleteAt = deleteAt;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "FlowColumn{" +
        "id=" + id +
        ", activityId=" + activityId +
        ", activityFlowId=" + activityFlowId +
        ", reviewType=" + reviewType +
        ", skuCode=" + skuCode +
        ", skuName=" + skuName +
        ", layout=" + layout +
        ", createAt=" + createAt +
        ", updateAt=" + updateAt +
        ", deleteAt=" + deleteAt +
        "}";
    }
}
